package com.fzu.ess.common.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author ercha
 * @ClassName: DemoController
 * @Description: //一句话功能简述/表所属模块
 * @Date 2015/12/04 13:50
 * @History:// 历史修改记录
 * <author>  // 修改人1
 * <time>    // 修改时间
 * <desc>    // 描述修改内容
 **/
@Controller
@RequestMapping(value = "/demo")
public class DemoController {

    @RequestMapping(value = "/table", method= RequestMethod.GET)
    public String table(){
        return "/jsp/demo/table.jsp";
    }

    @RequestMapping(value = "/upload", method = RequestMethod.GET)
    public String upload(){
        return "/jsp/demo/upload.jsp";
    }

    @RequestMapping(value = "/image", method = RequestMethod.GET)
    public String image(){
        return "/jsp/demo/image.jsp";
    }

    @RequestMapping(value = "/home", method = RequestMethod.GET)
    public String home(){
        return "/jsp/demo/home.jsp";
    }
}

